package com.mlnx.netty.app.service;

import lombok.Data;

/**
 * Created by amanda.shan on 2019/10/11.
 */
@Data
public class DeviceServiceManager {

    private static DeviceServiceManager manager;

    public static DeviceServiceManager getInstance(){
        if (manager == null){
            synchronized (DeviceServiceManager.class){
                if (manager == null){
                    manager = new DeviceServiceManager();
                }
            }
        }

        return manager;
    }

    private DeviceNettyService deviceNettyService;

    private DeviceBroadcastService deviceBroadcastService;


}
